home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000217-20000824
/
000135_news@columbia.edu _Tue Mar 21 19:03:54 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-08-23
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA02025
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 21 Mar 2000 19:03:53 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id SAA02414
for kermit.misc@watsun.cc.columbia.edu; Tue, 21 Mar 2000 18:43:25 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: K95 "title"
Date: 21 Mar 2000 23:43:24 GMT
Organization: Columbia University
Message-ID: <8b91es$2bc$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <8b8tsg$lji$1@samba.rahul.net>,
Clarence Dold <dold@rahul.net> wrote:
: T.E.Dickey <dickey@shell.clark.net> wrote:
: : as Jeffrey notes, kermit recognizes the standard form of this:
: : echo "]0;`hostname` $1 \"
:
: I took Jeffrey's note:
: OSC 0 ; <title> ST
:
: and tried to make sense of what needed to be sent.
: The closest I came was an ASCII chart, which almost agreed with
: T.E.Dickey's note, except that Jeffrey's seems to be eight bit,
: T.E.Dickey's seems to be seven bit mask of the same characters.
:
: so, T.E. has the same line as what I started with, except that his ends
: with ^[\, where mine ends with ^G.
: I can't parse T.E's line. echo hangs waiting for the escape sequence to
: finish. If I manually key in ESC-^G, I get the text on my Xterm title bar.
: I think the ^[\ resembles what the ASCII chart says should be sent,
: but I think either the shell or echo is interpreting it as \" escaping the
: closing quote. I've sprinkled some extra \ in with no effect, and I still
: have no reference to the X3.64 to decipher Jeffrey's string.
: http://www.ansi.org leads to a pay-per-view screen.
:
OSC and SC are C1 controls, which can be expressed as 8-bit bytes (in the
8-bit environment) or ESC followed by the C1 byte without its 8th bit. So:
8-bit 7-bit
OSC 0x9D ESC ]
ST 0x9C ESC \
For example, if you want to set the title from C-Kermit on the host:
C-Kermit> echo \27]0;This Is My Window Title\27\\
Here, \27 becomes ESC and \\ becomes \.
- Frank